#pragma once
#include "Sprites.h"
#include "iostream"
#include "Sound.h"
class Circle
{
public :
	int _r;
	int _x;
	int _y;
};
class Object
{
	static long _countObj;
public:
	Sound*		_pSoundManager;
	Sprites*	_pSprite;
	RECT*		_pRECT;// chua left top ... vung va cham day chinh la vi tri cua obj con VirtualLeft chinh la vi tri cua camera ==> vi tri ve thuc su cua obj tren man hinh chinh la vi tri cua obj - vi tri cua camera
	Circle *	_Pcircle;
	int			_typeBonus;			//nothing_-1,0_Coin,1_HealthMusroom_Flower,2_ExtralifeMusroom,or 3_Star
	int			_typeObj;			// background, Item, Emy, Mario
	int			_deltaY;			//move pos Y
	//bool		_isUpDown;			//check enemy have jump or fall
	int			_layer;				//layer 
	bool		_isActive;			//active enemy when camera view
	bool		_directory;			//directory left (false) or right (true)
	int			_id;				//the same MaSV of student
	int			_kindOfType;				//Item(ground,brick....) background(cloudy,grass,BigTree)
	int			_status;			//-1: turtle move fast 0: Stand   1: Jump   2: Die
	
	virtual void Draw(int VirtualLeft,int Style){}
	virtual int Move(){return 0;};
	virtual void Collision(Object *Ob){};
	virtual void Release(){};
	virtual void ObjGetColliton(int){};
	Object(void){};

	~Object(void){};
};